<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model frontend\modules\resource\models\BasMemberSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<?php $form = ActiveForm::begin([
    'action' => ['index'],
    'method' => 'get',
    'options' => [
        'data-pjax' => 1
    ],
    'fieldConfig' => [
        'template' => '{label}：{input}',
    ],
]); ?>

<?= $form->field($model, 'name', ['options' => ['class' => 'search_input']]) ?>

<?= $form->field($model, 'phone', ['options' => ['class' => 'search_input']]) ?>

<?= $form->field($model, 'user_name', ['options' => ['class' => 'search_input']]) ?>


<div class="form-group cha-xun">
    <?= Html::submitButton('查 询', ['class' => 'btn btn-primary']) ?>
</div>

<?php ActiveForm::end(); ?>


